import axios from 'axios';

const ajax = axios.create({
    baseURL: '/app',
});

ajax.interceptors.response.use(
    response => {
        return response.data;
    }, error => {
        return Promise.reject(error);
    });

export default ajax;